module.exports = (app)=>{
  app.router.post('/api/v1/publish', app.controller.goods.publishGoods);
  app.router.post('/api/v1/update_goods', app.controller.goods.updateGoods);
  app.router.get('/api/v1/get_product_list', app.controller.goods.getProductList);
  app.router.get('/api/v1/get_goods', app.controller.goods.getGoods);
  app.router.get('/api/v1/get_favorites', app.controller.goods.getFavorites);
  app.router.get('/api/v1/del_goods', app.controller.goods.delGoods);
}